package com.tjakus.adv;

import java.util.List;

/**
 * This class represents user data It has getters and setters for group id, user
 * name, password, email, user id and list of advertisement ids
 * 
 * @author tjakus
 * 
 */

public class UserData {

	private int groupId;
	private String userName;
	private String password;
	private String email;
	private String userId;
	private List<Advertisement> advertisements;
	private List<String> advertisementIdsToDelete;


	public int getGroupId() {
		return groupId;
	}

	public void setGroupId(int newGroupId) {
		this.groupId = newGroupId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String newUserName) {
		this.userName = newUserName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String newPassword) {
		this.password = newPassword;
	}

	public void setEmail(String newEmail) {
		this.email = newEmail;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String newUserId) {
		this.userId = newUserId;
	}

	public String getEmail() {
		return email;
	}
	
	public List<Advertisement> getAdvertisements() {
		return advertisements;
	}

	public void setAdvertisements(List<Advertisement> newAdvertisements) {
		this.advertisements = newAdvertisements;
	}

	public List<String> getAdvertisementIdsToDelete() {
		return advertisementIdsToDelete;
	}

	public void setAdvertisementIdsToDelete(List<String> newAdvertisementIdsToDelete) {
		this.advertisementIdsToDelete = newAdvertisementIdsToDelete;
	}
}
